]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
runDialog: Use TERMINAL input purpose
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 30 Jul 2026 22:41:40 +0000 (00:41 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:54:30 +0000 (18:54 +0200)
While not an actual terminal, the run dialog uses several features
that are terminal-like:

 - tab completion
 - history navigation
 - keybindings with modifiers (ctrl+return)

It therefore makes some sense to use the TERMINAL in purpose
(although the dialog itself isn't reachable in a pure touch
environment).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4312>
(cherry picked from commit 3ab39b9c90eb4da09c7cc5704b0830b6adcec655)

js/ui/runDialog.js

index faf9e0e0ec2d5a71a2bb1c8ef27b4f276abbf0a1..fb4d44aa73a1f310722f831f4916eb02261994bd 100644 (file)
@@ -66,6 +66,7 @@ class RunDialog extends ModalDialog.ModalDialog {
 
         const entry = new St.Entry({
             style_class: 'run-dialog-entry',
+            input_purpose: Clutter.InputContentPurpose.TERMINAL,
             labelActor,
             can_focus: true,
         });